var HelpNavCtrl = ['$scope', '$rootScope',
    function ($scope, $rootScope) {
        $scope.menu_list =
                [{
                        name: $rootScope.language.TIPS_HELP_SHORTCUT,
                        url: "#help/shortcut",
                        id: "shorcut",
                        type: "2",
                        show: "1"
                    }, {
                        name: "业绩帮助说明",
                        url: "#help/achievement",
                        id: "achievement",
                        type: "2",
                        show: "1"
                    }


                ];
    }];

var HelpShortcutCtrl = ['$scope', '$rootScope', '$http',
    function ($scope, $rootScope, $http) {
        $scope.curr = 'shorcut';
        $http.get('./install/shortcut.json').success(function (ret) {
            $scope.shortcutLists = ret;
        });
    }];
var HelpAchievementCtrl = ['$scope', '$rootScope', '$http',
    function ($scope, $rootScope, $http) {
        $scope.curr = 'achievement';
        $http.get('./install/achievement.json').success(function (ret) {
            $scope.achievementHelpList = ret;
        });
    }];


HelpNavCtrl.$injector = ['$scope', '$rootScope'];
HelpShortcutCtrl.$injector = ['$scope', '$rootScope', '$http'];
HelpAchievementCtrl.$injector = ['$scope', '$rootScope', '$http'];